package cn.com.huzo.model.entities.purchase;

import com.fasterxml.jackson.annotation.JsonFormat;
import huzofw.model.entities.IAggregateRoot;
import java.io.Serializable;
import java.sql.Timestamp;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 未对账信息报表实体类
 *
 * @author 吴旭
 */
public class ReportOpenNotesPayabledEntity implements Serializable, IAggregateRoot {

    private static final long serialVersionUID = 208697619017641064L;
    private Short RowFlag;
    private String StockInBillNo;           // 入库单号
    private String PoNo;                    // 订单号
    private String StyleNo;
    private Double MrpQuantity;             // 必要数量（调达） 
    private Double StockInQuantity;         // 实到数量（入库）
    private Double ShortRuleQuantity;       // 短尺数量
    private Timestamp OrderArrivalDate;     // 合同交期
    private Timestamp StockInDate;          // 入库日期
    private String MaterialName;
    private String MaterialCode;
    private String MaterialColourName;
    private String Specification;
    private String SupplierName;            // 供应商名
    private String Destination;

    public Short getRowFlag() {
        return RowFlag;
    }

    public void setRowFlag(Short RowFlag) {
        this.RowFlag = RowFlag;
    }

    public String getStockInBillNo() {
        return StockInBillNo;
    }

    public void setStockInBillNo(String StockInBillNo) {
        this.StockInBillNo = StockInBillNo;
    }

    public String getPoNo() {
        return PoNo;
    }

    public void setPoNo(String PoNo) {
        this.PoNo = PoNo;
    }

    public String getStyleNo() {
        return StyleNo;
    }

    public void setStyleNo(String StyleNo) {
        this.StyleNo = StyleNo;
    }

    public Double getMrpQuantity() {
        return MrpQuantity;
    }

    public void setMrpQuantity(Double MrpQuantity) {
        this.MrpQuantity = MrpQuantity;
    }

    public Double getStockInQuantity() {
        return StockInQuantity;
    }

    public void setStockInQuantity(Double StockInQuantity) {
        this.StockInQuantity = StockInQuantity;
    }

    public Double getShortRuleQuantity() {
        return ShortRuleQuantity;
    }

    public void setShortRuleQuantity(Double ShortRuleQuantity) {
        this.ShortRuleQuantity = ShortRuleQuantity;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public Timestamp getOrderArrivalDate() {
        return OrderArrivalDate;
    }

    public void setOrderArrivalDate(Timestamp OrderArrivalDate) {
        this.OrderArrivalDate = OrderArrivalDate;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    public Timestamp getStockInDate() {
        return StockInDate;
    }

    public void setStockInDate(Timestamp StockInDate) {
        this.StockInDate = StockInDate;
    }

    public String getMaterialName() {
        return MaterialName;
    }

    public void setMaterialName(String MaterialName) {
        this.MaterialName = MaterialName;
    }

    public String getMaterialCode() {
        return MaterialCode;
    }

    public void setMaterialCode(String MaterialCode) {
        this.MaterialCode = MaterialCode;
    }

    public String getMaterialColourName() {
        return MaterialColourName;
    }

    public void setMaterialColourName(String MaterialColourName) {
        this.MaterialColourName = MaterialColourName;
    }

    public String getSpecification() {
        return Specification;
    }

    public void setSpecification(String Specification) {
        this.Specification = Specification;
    }

    public String getSupplierName() {
        return SupplierName;
    }

    public void setSupplierName(String SupplierName) {
        this.SupplierName = SupplierName;
    }

    public String getDestination() {
        return Destination;
    }

    public void setDestination(String Destination) {
        this.Destination = Destination;
    }

}
